package com.weijin.bookborrowmanagesystem.service;

import com.weijin.bookborrowmanagesystem.common.Result;
import com.weijin.bookborrowmanagesystem.pojo.Borrow;

import java.util.List;

/**
 * @Author WeiJin
 * @Version 1.0
 * @Date 2025/3/13 10:39
 */
public interface BorrowService {
    Result<String> borrowBook(Borrow borrow);

    Result<String> returnBook(Borrow borrow);

    Result<List<Borrow>> queryByUserId(Integer userId);
}
